home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / windows / r3fload.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.6 KB  |  81 lines

  1.  
  2. // JavaScript wrapper for r3fload.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_r3fload_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_FILELOAD = 16;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Register interface for defining read options.
  16. // Returns: Boolean, true if succesfully registered
  17. // p1: Integer, file format class
  18. // p2: Integer, model class
  19. // p3: Integer, gadget class
  20.  
  21. R3FLOADCM_REGISTEROPTIONS = 16007;
  22.  
  23. function mR3FLOADCM_REGISTEROPTIONS(p1, p2, p3) {
  24.   return   DoA3(this.r3obj, 16007, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  25. }
  26.  
  27.  
  28.  
  29.  
  30. // Virtual method
  31.  
  32. R3FLOADCA_Directory = 16000;
  33.  
  34. function mR3FLOADCA_Directory() {
  35.   DoA(this.r3obj, 16000, 0, R3TID_INTEGER, 0);
  36. }
  37.  
  38. // Virtual method
  39.  
  40. R3FLOADCA_Pattern = 16001;
  41.  
  42. function mR3FLOADCA_Pattern() {
  43.   DoA(this.r3obj, 16001, 0, R3TID_INTEGER, 0);
  44. }
  45.  
  46. // Virtual method
  47.  
  48. R3FLOADA_IsProject = 16002;
  49.  
  50. function mR3FLOADA_IsProject() {
  51.   DoA(this.r3obj, 16002, 0, R3TID_INTEGER, 0);
  52. }
  53.  
  54. // Virtual method
  55.  
  56. R3FLOADA_HiddenSections = 16003;
  57.  
  58. function mR3FLOADA_HiddenSections() {
  59.   DoA(this.r3obj, 16003, 0, R3TID_INTEGER, 0);
  60. }
  61.  
  62.  
  63.  
  64. function r3Fileload () { 
  65.    this.base = r3God;
  66.    if(arguments.length) {
  67.       this.base(R3CLID_FILELOAD, arguments);
  68.    }
  69.    // Methods
  70.    this.REGISTEROPTIONS=mR3FLOADCM_REGISTEROPTIONS;
  71.  
  72.    // Methods
  73.    this.Directory=mR3FLOADCA_Directory;
  74.    this.Pattern=mR3FLOADCA_Pattern;
  75.    this.IsProject=mR3FLOADA_IsProject;
  76.    this.HiddenSections=mR3FLOADA_HiddenSections;
  77.  
  78. }
  79.  
  80. r3Fileload.prototype=new r3Window;
  81. // r3fload.h_H